use "surveydata_hh", clear

* Difference in MEANS

reg pol_int_bin i.briefwaehler
margins, dydx(*) post saving("pol_int", replace)
est store pol_int_bin

reg hh_important i.briefwaehler
margins, dydx(*) post saving("hh_important", replace)
est store hh_important

reg alt i.briefwaehler
margins, dydx(*) post saving("age", replace)
est store alter

reg female i.briefwaehler
margins, dydx(*) post saving("female", replace)
est store female

reg spd i.briefwaehler
margins, dydx(*) post saving("spd", replace)
est store spd

reg cdu i.briefwaehler
margins, dydx(*) post saving("cdu", replace)
est store cdu

reg linke i.briefwaehler
margins, dydx(*) post saving("linke", replace)
est store linke

reg gruene i.briefwaehler
margins, dydx(*) post saving("gruene", replace)
est store gruene

reg fdp i.briefwaehler
margins, dydx(*) post saving("fdp", replace)
est store fdp

reg afd i.briefwaehler
margins, dydx(*) post saving("afd", replace)
est store afd

coefplot pol_int_bin hh_important alter female 

coefplot spd cdu linke gruene fdp afd
